//
//  ImageMode.h
//  DogeLegs
//
//  Created by 宋华 on 2017/8/21.
//  Copyright © 2017年 宋华. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum {
    ImageSourceType_net,
    ImageSourceType_local,
}ImageSourceType;
@interface ImageMode : NSObject

@property (nonatomic,strong)NSString *imageUrl;

@property (nonatomic,strong)UIImage *localImg;

@property (nonatomic,assign)ImageSourceType sourceType;

@property (nonatomic,assign)CGFloat imageWidth;

@property (nonatomic,assign)CGFloat imageHeight;

- (CGFloat)scaleHeightToNotDetailWidth;

+ (NSMutableArray *)testNetImgs;

+ (ImageMode *)localImageMode:(UIImage *)image;

@end
